<div class="components_Form_Items_Items"><div class="formItems">
	<div v-for="(item,index) in formitems" key="id" :class="item.type != 'switch' ? 'formDiv' : 'formDiv formSwitch'" :style="platform == 'Web' ? item.style : ''">
		<div class="formLabel">
			<span v-if="item.type == 'title'" :style="computStyle('font-weight: bold;')">{{item.label}}</span>
			<span v-else>{{item.label}}</span>
			<span v-if="item.rule && item.rule.NotNull" :style="computStyle('color:#ff0000;')">*</span>
		</div>
		<div v-if="item.type == 'title'" class="formTitle"></div>
		<div v-else class="formInput">
			<div v-if="item.type == 'onlyselect'" class="itemInput">
				<onlyselect :skey="item.attr.skey" :sitem="item.attr.sitem" :index="index" :name="item.id" :disabled="_readOnly||item.readOnly" :url="item.attr.url" :meth="item.attr.meth" :title="item.attr.title" :data="item.attr.data" :placeholder="item.attr.placeholder" :search-key="item.attr.searchKey" :search-regex="item.attr.searchRegex" :can-clear="item.attr.canClear" :vkey="item.attr.vkey" :value="valueShow[0][item.id]" @change="change"></onlyselect>
			</div>
      <div v-else-if="item.type == 'editor'">
				<inputeditor :index="index" :name="item.id" :disabled="_readOnly||item.readOnly" :value="valueShow[0][item.id]" :placeholder="item.attr && item.attr.placeholder" :attr="item.attr" @change="change"></inputeditor>
			</div>
			<div v-else-if="item.type == 'table'">
				<inputtable :index="index" :name="item.id" :hide-head="item.attr.hideHead" :disabled="_readOnly||item.readOnly" :models="item.attr.models" :value="valueShow[0][item.id]" @change="change"></inputtable>
			</div>
      <mixinput v-else :ref="item.id" :name="item.id" :type="item.type" :attr="item.attr" :read-only="_readOnly||item.readOnly" :value="valueShow[0][item.id]" @change="change" :index="index"></mixinput>
    </div>
		<span v-if="item.errorMsg" class="formErr">{{item.errorMsg}}</span>
	</div>
  <div class="clear"></div>
  <div v-if="tips_.length" class="tips">
  	<div v-for="(item,index) in tips_" class="tip" key="index" :style="item.style">{{item.name}}</div>
  </div>
</div></div>